package com.xzwk.subject.domain.convert;

import com.xzwk.subject.domain.dto.SubjectAnswerDTO;
import com.xzwk.subject.domain.dto.SubjectLabelDTO;
import com.xzwk.subject.domain.entity.SubjectAnswerBO;
import com.xzwk.subject.domain.entity.SubjectInfoBO;
import com.xzwk.subject.domain.entity.SubjectLabelBO;
import com.xzwk.subject.domain.request.SaveSubjectInfoRequest;
import com.xzwk.subject.infra.basic.entity.SubjectInfo;
import com.xzwk.subject.infra.basic.entity.SubjectLabel;
import java.util.List;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface SubjectInfoConverter {

  SubjectInfo toSubjectInfo(SaveSubjectInfoRequest request);

  SubjectInfoBO toSubjectInfoBO(SaveSubjectInfoRequest request);

  List<SubjectAnswerBO> toSubjectAnswerBO(List<SubjectAnswerDTO> optionList);

  SubjectInfo boToSubjectInfo(SubjectInfoBO subjectInfoBO);
}
